package priv.mill.entry;

import java.util.List;
import com.alibaba.fastjson.annotation.JSONField;

public class RolePower extends BasePojo{



	private Integer rolePowerId;
		
	public Integer getRolePowerId() {
		return rolePowerId;
	}

	public void setRolePowerId(Integer rolePowerId) {
		this.rolePowerId = rolePowerId;
	}

	private Integer roleId;
		
	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	private Integer powerId;
		
	public Integer getPowerId() {
		return powerId;
	}

	public void setPowerId(Integer powerId) {
		this.powerId = powerId;
	}

	private java.sql.Timestamp createTime;
		
	public java.sql.Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.sql.Timestamp createTime) {
		this.createTime = createTime;
	}

	private java.sql.Timestamp updateTime;
		
	public java.sql.Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(java.sql.Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	
	
@JSONField(serialize=false)
private Role role;
	
	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}	
@JSONField(serialize=false)
private Power power;
	
	public Power getPower() {
		return power;
	}

	public void setPower(Power power) {
		this.power = power;
	}



	//带参数构造
	public RolePower(Integer rolePowerId,Integer roleId,Integer powerId,java.sql.Timestamp createTime,java.sql.Timestamp updateTime) {
		this.rolePowerId=rolePowerId;this.roleId=roleId;this.powerId=powerId;this.createTime=createTime;this.updateTime=updateTime;

	}

	
	//空参数构造
	public RolePower() {
	}
	
	

}
